﻿using System;


namespace Qetza.TeamFoundation.WorkItemQuery.Admin
{
    /// <summary>
    /// Defines the contract that an engine must implement.
    /// </summary>
    public interface IEngine
    {
        #region Methods

        /// <summary>
        /// Runs the engine.
        /// </summary>
        /// <param name="arguments">
        /// The process parameters.
        /// </param>
        /// <returns>
        /// <b>0</b> if no error occured; otherwise <b>1</b>;
        /// </returns>
        int Run(string[] arguments);

        #endregion
    }
}
